import request from '@/utils/request';

// 获取考试课程列表
export function queryExamCourseList(params) {
	return request({
		method: 'get',
		url: 'testExamCourse/query',
		params
	});
}

// 新增考试课程关系
export function addedExamCourse(data) {
	return request({
		method: 'post',
		url: 'testExamCourse/add',
		data
	});
}

// 删除考试课程关系
export function deleteExamCourse(id) {
	return request({
		method: 'get',
		url: 'testExamCourse/delete/' + id
	});
}

// 批量删除考试课程关系
export function batchDeleteExamCourse(data) {
	return request({
		method: 'post',
		url: 'testExamCourse/deleteBatch',
		data
	});
}